gtk-demo: Fix up image handling in the clipboard demo
authorMatthias Clasen <mclasen@redhat.com>
Thu, 15 Oct 2020 13:16:17 +0000 (09:16 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 15 Oct 2020 13:19:17 +0000 (09:19 -0400)
commit8cf955731fd6c5ac36c8b590dad0fb1de9482af3
tree1cea4127f2cf350ccdff90c5eab1835b8f5b6abf
parent57ebc351a9029e4a9007a0580cf10b686bd11364
gtk-demo: Fix up image handling in the clipboard demo

Using GtkIconPaintable+GtkPicture is not good for symbolic
icons - they don't get properly colored that way. So change
things around to use the icon name if we have it.

Fixes: #3252
demos/gtk-demo/demoimage.c